import requests from '@/utils/request';
// 查询
export const reqGetRoleList = (params) =>
  requests.post('/admin/role/query', params);
// 编辑
export const reqEditRole = (params) => requests.put('/admin/role/edit', params);
// 添加
export const reqBatchAddRole = (params) =>
  requests.post('/admin/role/add', params);
// 查询全部角色信息
export const reqQueryRoleList = () => requests.get('/admin/role/queryRoleList');
